
<form class="form-horizontal" method="post">
	<volist name="tableInfoArray" id="tableInfo">
	<if condition="$tableInfo[$columnNameKey] neq 'id'">
	<div class="form-group">
		<label class="col-md-2 control-label" for="{$tableInfo[$columnNameKey]}">{:pressFieldDict($tableName, $tableInfo[$columnNameKey])}</label>
		<div class="col-md-6">
			<input type="text" class="form-control" placeholder="{:pressFieldDict($tableName, $tableInfo[$columnNameKey])}"
				 name="{$tableInfo[$columnNameKey]|strtolower}" id="{$tableInfo[$columnNameKey]}" />
		</div>
	</div>
	
	</if>






	</volist>
	
	<div class="form-group">
		<div class="col-md-2 col-md-offset-2">
			<input type="submit" value="提交" class="btn btn-default" />
		</div>
	</div>
</form>




<textarea style="width:800px;height:400px;">[<volist name="tableInfoArray" id="tableInfo" >["{$tableInfo[$columnNameKey]}","require","缺少{:pressFieldDict($tableName, $tableInfo[$columnNameKey])}"],<php>echo "\r\n";</php></volist>]

{<volist name="tableInfoArray" id="tableInfo" >"{$tableInfo[$columnNameKey]}":"",</volist>}

<volist name="tableInfoArray" id="tableInfo">
"{$tableInfo[$columnNameKey]}"=>$val['{$tableInfo[$columnNameKey]}'],  //{:pressFieldDict($tableName, $tableInfo[$columnNameKey])}<php>echo "\r\n";</php></volist>


message {$tableName}Mess
{
    string CompanyId = 1;
    string Source = 2;
    string IPCType = 3;
    repeated {$tableName} {$tableName} = 4;
}
message {$tableName}
{
 
	<volist name="tableInfoArray" id="tableInfo">	string {$tableInfo[$columnNameKey]} = {$key};  //{:pressFieldDict($tableName, $tableInfo[$columnNameKey])} 	<php>echo "\r\n";</php></volist>
 
}

</textarea>